package com.pingba.entity.friend;

import com.pingba.entity.BaseEntity;

/**
 * Created by Administrator on 2015/11/9 0009.
 */
public class FriendRelation extends BaseEntity {
    private long sid;
    private long fromUserId;
    private long toUserId;
    private long time;

    public static FriendRelation getTemplate(long fromUserId, long toUserId) {
        FriendRelation temp = new FriendRelation();
        temp.setToUserId(toUserId);
        temp.setFromUserId(fromUserId);
        return temp;
    }


    public long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public long getSid() {
        return sid;
    }

    public void setSid(long sid) {
        this.sid = sid;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public long getToUserId() {
        return toUserId;
    }

    public void setToUserId(long toUserId) {
        this.toUserId = toUserId;
    }
}
